package com.jyk.blog.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlogTagMapper {
    List<Integer> findByTag(int id);
    List<Integer> findByBlog(int id);
    void insert(int blogId, int tagId);
    void deleteByBlog(int blogID);
    void deleteByTag(int tagID);
}
